package com.masterclient.app.businessmodule.vipmodule.auth.contract;

import com.eoner.baselib.presenter.FCBasePresenter;
import com.eoner.baselib.presenter.IFCBaseView;
import com.eoner.baselibrary.bean.personal.UploadImgBean;
import com.masterclient.app.businessmodule.settingmodule.auth.bean.OcrBean;

import java.io.File;


public interface UploadIDsContract {

    interface View extends IFCBaseView {
        void onUploadSuccess(UploadImgBean.DataBean dataBean);
        void onIDOcrSuccess();
        void OnIDOcrFail(String code, String msg);
        void OnNewOcrResult(OcrBean bean);
        void OnNewOcrResultFail(String msg);
    }
    abstract static class Presenter extends FCBasePresenter<View> {

        public abstract void new_ocr(File images,String type);
        public abstract void ocr_info_send(String real_name,String cardId);

    }
}